package cn.bluech.mvvmdemo.ui

import android.os.Bundle
import androidx.databinding.BindingAdapter
import androidx.databinding.DataBindingUtil
import androidx.databinding.adapters.ViewBindingAdapter
import cn.bluech.mvvmdemo.R
import cn.bluech.mvvmdemo.databinding.ActivityMainBinding
import cn.bluech.mvvmset.base.MvvmActivity

class MainActivity : MvvmActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        val binding: ActivityMainBinding =
            DataBindingUtil.setContentView(this, R.layout.activity_main)
        binding.viewModel = MainVModel()
//        binding.setVariable(BR..viewModel)
//        ViewBindingAdapter
    }
}